package cn.zjj;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication
@EnableDiscoveryClient//所有注册中心都能用, eurekaClient只有eureka能用,除了注册还包含了服务发现
public class GateWayApp {

    public static void main(String[] args) {

        SpringApplication.run(GateWayApp.class,args);
    }
}
